package com.glory.good_dark.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: CheckAddListEntity
 * Author: XJH
 * Date: 2020/4/9 13:53
 * Description:
 * History:
 */
public class CheckAddListEntity implements Serializable {

    private String EQP_ID;
    private List<CheckState> CHECK_STATE_LIST;//检查单状态列表
    private List<CheckName> CHECK_NAME_LIST;//检查单名称列表
    private List<CheckConfirmTableName> CHECK_NAME_CONFIRM_LIST;//工艺确认表
    private List<CheckTable> CHECK_TABLE_LIST;//检查单数据
    private List<CheckRemindName> REMIND_ALARM_LIST;//提前提醒设置名称列表

    public List<CheckRemindName> getREMIND_ALARM_LIST() {
        if (REMIND_ALARM_LIST == null) {
            return new ArrayList<>();
        }
        return REMIND_ALARM_LIST;
    }

    public void setREMIND_ALARM_LIST(List<CheckRemindName> REMIND_ALARM_LIST) {
        this.REMIND_ALARM_LIST = REMIND_ALARM_LIST;
    }

    public String getEQP_ID() {
        return EQP_ID == null ? "" : EQP_ID;
    }

    public void setEQP_ID(String EQP_ID) {
        this.EQP_ID = EQP_ID;
    }

    public List<CheckState> getCHECK_STATE_LIST() {
        if (CHECK_STATE_LIST == null) {
            return new ArrayList<>();
        }
        return CHECK_STATE_LIST;
    }

    public void setCHECK_STATE_LIST(List<CheckState> CHECK_STATE_LIST) {
        this.CHECK_STATE_LIST = CHECK_STATE_LIST;
    }

    public List<CheckName> getCHECK_NAME_LIST() {
        if (CHECK_NAME_LIST == null) {
            return new ArrayList<>();
        }
        return CHECK_NAME_LIST;
    }

    public void setCHECK_NAME_LIST(List<CheckName> CHECK_NAME_LIST) {
        this.CHECK_NAME_LIST = CHECK_NAME_LIST;
    }

    public List<CheckConfirmTableName> getCHECK_NAME_CONFIRM_LIST() {
        if (CHECK_NAME_CONFIRM_LIST == null) {
            return new ArrayList<>();
        }
        return CHECK_NAME_CONFIRM_LIST;
    }

    public void setCHECK_NAME_CONFIRM_LIST(List<CheckConfirmTableName> CHECK_NAME_CONFIRM_LIST) {
        this.CHECK_NAME_CONFIRM_LIST = CHECK_NAME_CONFIRM_LIST;
    }

    public List<CheckTable> getCHECK_TABLE_LIST() {
        if (CHECK_TABLE_LIST == null) {
            return new ArrayList<>();
        }
        return CHECK_TABLE_LIST;
    }

    public void setCHECK_TABLE_LIST(List<CheckTable> CHECK_TABLE_LIST) {
        this.CHECK_TABLE_LIST = CHECK_TABLE_LIST;
    }

    public class CheckRemindName implements Serializable{
        private String REMIND_ALARM_NAME;

        public String getREMIND_ALARM_NAME() {
            return REMIND_ALARM_NAME == null ? "" : REMIND_ALARM_NAME;
        }

        public void setREMIND_ALARM_NAME(String REMIND_ALARM_NAME) {
            this.REMIND_ALARM_NAME = REMIND_ALARM_NAME;
        }
    }
}
